module.exports = {
    entry: {
        app: 'app.js'
    },
    output: {
        filename: '[name].[hash:8].js'
    },
    module: {
        rules: [{
            test: /\.js$/,
            use: 'babel-loader',
            execlude: '/node_modules/'
        }]
    }
}